package enum

import "mldong/utility"

func init() {
	utility.RegisterEnumValues("是否", "yes_no", []interface{}{
		YES,
		NO,
	})
}

// 是否枚举
type YesNoEnum struct {
	Key     string
	Code    int
	Message string
}

const (
	YES_NO_DICT_KEY  = "yes_no"
	YES_NO_DICT_NAME = "是否"
)

var YES = YesNoEnum{Key: "YES", Code: 1, Message: "是"}
var NO = YesNoEnum{Key: "NO", Code: 0, Message: "否"}
